<?php

/**
 * @file
 * Customize the header information shown when editing or viewing submissions.
 *
 * Available variables:
 * - $node: The node object for this webform.
 * - $mode: Either "form" or "display". May be other modes provided by other
 *          modules, such as "print" or "pdf".
 * - $submission: The contents of the webform submission.
 * - $account: The user that submitted the form.
 */
?>
<fieldset class="webform-submission-info clearfix" style="color:red;">
  <div><h2><font color="red"><?php print t('Cancellation information'); ?></font></h2></div>
  <div class="webform-submission-info-text">
    <div><?php print t('Cancelled by: !name', array('!name' => theme('username', array('account' => $submission->cancelled['account'])))); ?></div>
    <div><?php print format_date($submission->cancelled['cancelled_time'], 'large'); ?></div>
    <div style="word-wrap:break-word;"><?php print t('Cancellation Reason: !reason', array('!reason' => $submission->cancelled['reason'])); ?></div>
  </div>
</fieldset>
